#!/bin/sh

master_lists="common/master_lists"
public_lists="common/public_lists"
report="common/report"
lma="lma"
lmw="lmw"
manual="manual"

# create master lists
mkdir -p $master_lists
touch $master_lists/doneList
touch $master_lists/errorList
touch $master_lists/geoblockList
touch $master_lists/ignoredList
touch $master_lists/successList
touch $master_lists/unavailableList

# create public lists
mkdir -p $public_lists

test -e $public_lists/.git || 
echo "Remember to create the git repo in $public_lists" 

# create email archive
mkdir -p $report/archive
# create error list file for generating reports
touch $report/errors
# create initial previous totals count
echo -n "0
0
0
0
0" > $report/previousTotals

# create LMA folders
mkdir -p $lma/lists
mkdir -p $lma/logs

# create LMA files
touch $lma/last

# create LMW folders
mkdir -p $lmw/lists
mkdir -p $lmw/logs

# create LMW files
touch $lmw/last_article
touch $lmw/last_comment

# create LMW folders
mkdir -p $manual/lists
mkdir -p $manual/logs
